package com.atguigu.day07;

public class Test02 {
    public static void main(String[] args) {
        MyDate m1 = new MyDate();
        MyDate m2 = new MyDate();
        MyDate m3 = new MyDate();
        m1.year = 1997;
        m1.month = 9;
        m1.day = 4;
        m2.year = 2021;
        m2.month = 3;
        m2.day = 23;
        m3.year = 2021;
        m3.month = 9;
        m3.day = 4;
        System.out.println("出生日期：" + m1.year + "年" + m1.month + "月" + m1.day + "日");
        System.out.println("来尚硅谷的日期：" + m2.year + "年" + m2.month + "月" + m2.day + "日");
        System.out.println("毕业的日期：" + m3.year + "年" + m3.month + "月" + m3.day + "日");
    }
}

class MyDate {
    int year;
    int month;
    int day;
}
